package com.jhgsys.internal.sypq.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jhgsys.internal.sypq.params.FileParams;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName WechatAttachModelVO
 * @Description 企业微信端附体列表页面返回实体
 * @Author Lucas
 * @Date 2024/12/7
 **/
@Data
@Schema(name = "WechatAttachModelVO",description = "企业微信端附体列表页面返回实体")
public class WechatAttachModelVO {

    @Schema(description = "主键id")
    private String id;

    @Schema(description = "项目编号")
    private String projectCode;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "附体名称")
    private String attachName;

    @Schema(description = "附体编号")
    private String attachCode;

    @Schema(description = "项目经理")
    private String projectManager;

    @Schema(description = "要求完成时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date demandEnddate;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "状态名称")
    private String statusName;

    @Schema(description = "来源")
    private Integer source;

    @Schema(description = "来源名称")
    private String sourceName;

    /**
     * 附体类型,数据字典MODEL_ATTACH_TYPE
     */
    @Schema(description = "附体类型")
    private Integer attachType;

    /**
     * 附体类型名称
     */
    @Schema(description = "附体类型名称")
    private String attachTypeName;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String memo;

    @Schema(description = "附件列表")
    private List<FileParams> fileList;
}
